SwitchInlineQueryChosenChat class

This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.

Constructors

SwitchInlineQueryChosenChat({String? query, bool? allowUserChats, bool? allowBotChats, bool? allowGroupChats, bool? allowChannelChats})
Constructs a SwitchInlineQueryChosenChat
const
SwitchInlineQueryChosenChat.fromJson(Map<String, dynamic> json)
Creates a SwitchInlineQueryChosenChat object from JSON object
factory

Properties

allowBotChats bool?
Optional. True, if private chats with bots can be chosen
final
allowChannelChats bool?
Optional. True, if channel chats can be chosen
final
allowGroupChats bool?
Optional. True, if group and supergroup chats can be chosen
final
allowUserChats bool?
Optional. True, if private chats with users can be chosen
final
hashCode int
The hash code for this object.
no setterinherited
query String?
Optional. The default inline query to be inserted in the input field. If left empty, only the bot's username will be inserted
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a SwitchInlineQueryChosenChat object to JSON object
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited