Module tdlight.api

Class TdApi.UpdateChatMember

Enclosing class:
TdApi

public static final class TdApi.UpdateChatMember extends TdApi.Update
User rights changed in a chat; for bots only.
  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • actorUserId

      public long actorUserId
      Identifier of the user, changing the rights.
    • date

      public int date
      Point in time (Unix timestamp) when the user rights was changed.
    • oldChatMember

      public TdApi.ChatMember oldChatMember
      Previous chat member.
    • newChatMember

      public TdApi.ChatMember newChatMember
      New chat member.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • UpdateChatMember

      public UpdateChatMember()
      User rights changed in a chat; for bots only.
    • UpdateChatMember

      public UpdateChatMember(long chatId, long actorUserId, int date, TdApi.ChatInviteLink inviteLink, TdApi.ChatMember oldChatMember, TdApi.ChatMember newChatMember)
      User rights changed in a chat; for bots only.
      Parameters:
      chatId - long Chat identifier.
      actorUserId - long Identifier of the user, changing the rights.
      date - int Point in time (Unix timestamp) when the user rights was changed.
      inviteLink - ChatInviteLink If user has joined the chat using an invite link, the invite link; may be null.
      oldChatMember - ChatMember Previous chat member.
      newChatMember - ChatMember New chat member.
    • UpdateChatMember

      public UpdateChatMember(DataInput input) throws IOException
      User rights changed in a chat; for bots only.
      Throws:
      IOException
  • Method Details