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.

https://core.telegram.org/bots/api#inlinequeryresultsbutton

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

SwitchInlineQueryChosenChat({String? query, bool? allowUserChats, bool? allowBotChats, bool? allowGroupChats, bool? allowChannelChats})
SwitchInlineQueryChosenChat.fromJson(Map<String, dynamic> json)
factory

Properties

allowBotChats bool?
getter/setter pair
allowChannelChats bool?
getter/setter pair
allowGroupChats bool?
getter/setter pair
allowUserChats bool?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
query String?
getter/setter pair
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>
toString() String
A string representation of this object.
inherited

Operators

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