Class TdApi.ChatEventMemberRestricted

  • Enclosing class:
    TdApi

    public static class TdApi.ChatEventMemberRestricted
    extends TdApi.ChatEventAction
    A chat member was restricted/unrestricted or banned/unbanned, or the list of their restrictions has changed.
    • Field Detail

      • userId

        public int userId
        Chat member user identifier.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ChatEventMemberRestricted

        public ChatEventMemberRestricted()
        Default constructor.
      • ChatEventMemberRestricted

        public ChatEventMemberRestricted​(int userId,
                                         TdApi.ChatMemberStatus oldStatus,
                                         TdApi.ChatMemberStatus newStatus)
        Constructor for initialization of all fields.
        Parameters:
        userId - Chat member user identifier.
        oldStatus - Previous status of the chat member.
        newStatus - New status of the chat member.