29ed4c9997
Improve webpage attach Improve updates handling
14 lines
917 B
HTML
14 lines
917 B
HTML
<div ng-switch="::media._">
|
|
<div ng-switch-when="messageMediaPhoto" my-message-photo="media" message-id="messageId"></div>
|
|
<div ng-switch-when="messageMediaDocument" my-message-document="media" message-id="messageId"></div>
|
|
<div ng-switch-when="messageMediaGeo" my-message-geo="media"></div>
|
|
<div ng-switch-when="messageMediaVenue" my-message-venue="media"></div>
|
|
<div ng-switch-when="messageMediaContact" my-message-contact="media"></div>
|
|
<div ng-switch-when="messageMediaWebPage" my-message-webpage="media" message-id="messageId"></div>
|
|
<div ng-switch-when="messageMediaPending" my-message-pending="media"></div>
|
|
<div ng-switch-when="messageMediaUnsupported">
|
|
<div class="im_message_text" my-i18n="message_attach_unsupported">
|
|
<my-i18n-param name="link"><a href="https://web.telegram.org" target="_blank">web.telegram.org</a></my-i18n-param>
|
|
</div>
|
|
</div>
|
|
</div> |