Class TdApi.MessageBotWriteAccessAllowed

Enclosing class:
TdApi

public static class TdApi.MessageBotWriteAccessAllowed extends TdApi.MessageContent
The user allowed the bot to send messages.
  • Field Details

  • Constructor Details

    • MessageBotWriteAccessAllowed

      public MessageBotWriteAccessAllowed()
      The user allowed the bot to send messages.
    • MessageBotWriteAccessAllowed

      public MessageBotWriteAccessAllowed(TdApi.BotWriteAccessAllowReason reason)
      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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR