Class TdApi.ChatEventMemberPromoted

  • Enclosing class:
    TdApi

    public static class TdApi.ChatEventMemberPromoted
    extends TdApi.ChatEventAction
    A chat member has gained/lost administrator status, or the list of their administrator privileges 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

      • ChatEventMemberPromoted

        public ChatEventMemberPromoted()
        Default constructor.
      • ChatEventMemberPromoted

        public ChatEventMemberPromoted​(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.