| 4 | <data android:mimeType="*/*" /> |
| 5 | <category android:name="org.telegram.messenger.SHORTCUT_SHARE" /> |
| 6 | </share-target> |
| 7 |
| 8 | <capability android:name="actions.intent.GET_THING"> |
| 9 | <intent> |
| 10 | <url-template android:value="tg://search{?query}" /> |
| 11 | <parameter |
| 12 | android:name="thing.name" |
| 13 | android:key="query" |
| 14 | android:required="true" /> |
| 15 | </intent> |
| 16 | <intent> |
| 17 | <url-template android:value="tg://search" /> |
| 18 | </intent> |
| 19 | </capability> |
| 20 | <capability android:name="actions.intent.CREATE_CALL"> |
| 21 | <intent> |
| 22 | <url-template android:value="tg://call{?format,name,phone}" /> |
| 23 | <parameter |
| 24 | android:name="call.callFormat" |
| 25 | android:key="format" /> |
| 26 | <parameter |
| 27 | android:name="call.participant.name" |
| 28 | android:key="name" /> |
| 29 | <parameter |
| 30 | android:name="call.participant.telephone" |
| 31 | android:key="phone" /> |
| 32 | </intent> |
| 33 | </capability> |
| 34 | <capability android:name="actions.intent.GET_ACCOUNT"> |
| 35 | <intent> |
| 36 | <url-template android:value="tg://settings" /> |
| 37 | </intent> |
| 38 | </capability> |
| 39 | <capability android:name="actions.intent.GET_BARCODE"> |
| 40 | <intent> |
| 41 | <url-template android:value="tg://scanqr" /> |
| 42 | </intent> |
| 43 | </capability> |
| 44 | <capability android:name="actions.intent.GET_CALL"> |
| 45 | <intent> |
| 46 | <url-template android:value="tg://calllog" /> |
| 47 | </intent> |
| 48 | </capability> |
| 49 | </shortcuts> |