Class TdApi.MessageBotWriteAccessAllowed
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.MessageContent
dev.voroby.springframework.telegram.client.TdApi.MessageBotWriteAccessAllowed
- Enclosing class:
- TdApi
The user allowed the bot to send messages.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The reason why the bot was allowed to write messages. -
Constructor Summary
ConstructorDescriptionThe user allowed the bot to send messages.The user allowed the bot to send messages. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
reason
The reason why the bot was allowed to write messages. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageBotWriteAccessAllowed
public MessageBotWriteAccessAllowed()The user allowed the bot to send messages. -
MessageBotWriteAccessAllowed
The user allowed the bot to send messages.- Parameters:
reason
- The reason why the bot was allowed to write messages.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-