Class TdApi.UpdateNewChat

Enclosing class:
TdApi

public static class TdApi.UpdateNewChat extends TdApi.Update
A new chat has been loaded/created. This update is guaranteed to come before the chat identifier is returned to the application. The chat field changes will be reported through separate updates.
  • Field Details

    • chat

      public TdApi.Chat chat
      The chat.
    • CONSTRUCTOR

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

    • UpdateNewChat

      public UpdateNewChat()
      A new chat has been loaded/created. This update is guaranteed to come before the chat identifier is returned to the application. The chat field changes will be reported through separate updates.
    • UpdateNewChat

      public UpdateNewChat(TdApi.Chat chat)
      A new chat has been loaded/created. This update is guaranteed to come before the chat identifier is returned to the application. The chat field changes will be reported through separate updates.
      Parameters:
      chat - The chat.
  • 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