Class TdApi.MessageChatOwnerChanged

Enclosing class:
TdApi

public static class TdApi.MessageChatOwnerChanged extends TdApi.MessageContent
The owner of the chat has changed.
  • Field Details

    • newOwnerUserId

      public long newOwnerUserId
      Identifier of the user who is the new owner of the chat.
    • CONSTRUCTOR

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

    • MessageChatOwnerChanged

      public MessageChatOwnerChanged()
      The owner of the chat has changed.
    • MessageChatOwnerChanged

      public MessageChatOwnerChanged(long newOwnerUserId)
      The owner of the chat has changed.
      Parameters:
      newOwnerUserId - Identifier of the user who is the new owner of 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.MessageContent
      Returns:
      this.CONSTRUCTOR