InternalLinkTypeWebApp
Object Hierarchy:
Description:
public class InternalLinkTypeWebApp :
InternalLinkType
The link is a link to a Web App. Call Client.search_public_chat with
the given bot username, check that the user is a bot. If the bot is restricted for the current user, then show an error message.
Otherwise, call Client.search_web_app with the received bot and the given
web_app_short_name. Process received foundWebApp by showing a confirmation dialog if needed. If the bot can be added to attachment or side
menu, but isn't added yet, then show a disclaimer about Mini Apps being third-party applications instead of the dialog and ask the user to
accept their Terms of service. If the user accept the terms and confirms adding, then use
Client.toggle_bot_is_added_to_attachment_menu to add
the bot. Then, call Client.get_web_app_link_url and open the returned
URL as a Web App
Content:
Properties:
- public string bot_username { get; set construct; }
Username of the bot that owns the Web App
- public WebAppOpenMode mode { get; set construct; }
The mode in which the Web App must be opened
- public string start_parameter { get; set construct; }
- public string web_app_short_name { get; set construct; }
Short name of the Web App
Creation methods:
Inherited Members:
All known members inherited from class TDLib.Error
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref