@ -2,6 +2,7 @@
< li class = "inline_result_wrap" ng-class = "'inline_result_' + result.type" ng-repeat = "result in botResults.results track by result.qID" ng-switch = "result.type" >
< li class = "inline_result_wrap" ng-class = "'inline_result_' + result.type" ng-repeat = "result in botResults.results track by result.qID" ng-switch = "result.type" >
< a ng-switch-when = "gif" class = "img_gif_with_progress_wrap" data-inlineid = "{{result.qID}}" ng-style = "::{width: result.thumbW, height: result.thumbH}" ng-switch = "result._" >
< a ng-switch-when = "gif" class = "img_gif_with_progress_wrap" data-inlineid = "{{result.qID}}" ng-style = "::{width: result.thumbW, height: result.thumbH}" ng-switch = "result._" >
< div class = "inline_result_ind" > < / div >
< div ng-switch-when = "botInlineMediaResultDocument" ng-switch = "result.document.url !== undefined" class = "inline_result_gif_mtproto" >
< div ng-switch-when = "botInlineMediaResultDocument" ng-switch = "result.document.url !== undefined" class = "inline_result_gif_mtproto" >
< div ng-switch-when = "true" ng-switch = "result.document.mime_type == 'video/mp4'" >
< div ng-switch-when = "true" ng-switch = "result.document.mime_type == 'video/mp4'" >
< video ng-switch-when = "true" width = "{{result.thumbW}}" height = "{{result.thumbH}}" loop autoplay class = "img_gif_video" >
< video ng-switch-when = "true" width = "{{result.thumbW}}" height = "{{result.thumbH}}" loop autoplay class = "img_gif_video" >
@ -25,11 +26,13 @@
< / a >
< / a >
< a ng-switch-when = "photo" data-inlineid = "{{result.qID}}" ng-style = "::{width: result.thumbW, height: result.thumbH}" ng-switch = "result._" >
< a ng-switch-when = "photo" data-inlineid = "{{result.qID}}" ng-style = "::{width: result.thumbW, height: result.thumbH}" ng-switch = "result._" >
< div class = "inline_result_ind" > < / div >
< div ng-switch-when = "botInlineMediaResultPhoto" class = "inline_result_photo_mtproto" >
< div ng-switch-when = "botInlineMediaResultPhoto" class = "inline_result_photo_mtproto" >
< img
< img
class="inline_result_photo_image"
class="inline_result_photo_image"
my-load-thumb
my-load-thumb
thumb="result.thumb"
thumb="result.thumb"
ng-style="::{width: result.thumbW, height: result.thumbH}"
/>
/>
< / div >
< / div >
< div ng-switch-default ng-switch = "result.contentUrl !== undefined" class = "inline_result_photo_http" >
< div ng-switch-default ng-switch = "result.contentUrl !== undefined" class = "inline_result_photo_http" >