Class TdApi.SharedChat

java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.SharedChat
Enclosing class:
TdApi

public static class TdApi.SharedChat extends TdApi.Object
Contains information about a chat shared with a bot.
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • title

      public String title
      Title of the chat; for bots only.
    • username

      public String username
      Username of the chat; for bots only.
    • photo

      public TdApi.Photo photo
      Photo of the chat; for bots only; may be null.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • SharedChat

      public SharedChat()
      Contains information about a chat shared with a bot.
    • SharedChat

      public SharedChat(long chatId, String title, String username, TdApi.Photo photo)
      Contains information about a chat shared with a bot.
      Parameters:
      chatId - Chat identifier.
      title - Title of the chat; for bots only.
      username - Username of the chat; for bots only.
      photo - Photo of the chat; for bots only; may be null.
  • 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