Class TdApi.ChatMember
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.ChatMember
- Enclosing class:
- TdApi
Describes a user or a chat as a member of another chat.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.int
Point in time (Unix timestamp) when the user joined/was promoted/was banned in the chat.Identifier of the chat member.Status of the member in the chat. -
Constructor Summary
ConstructorDescriptionDescribes a user or a chat as a member of another chat.ChatMember
(TdApi.MessageSender memberId, long inviterUserId, int joinedChatDate, TdApi.ChatMemberStatus status) Describes a user or a chat as a member of another chat. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
memberId
Identifier of the chat member. Currently, other chats can be only Left or Banned. Only supergroups and channels can have other chats as Left or Banned members and these chats must be supergroups or channels. -
inviterUserId
public long inviterUserIdIdentifier of a user that invited/promoted/banned this member in the chat; 0 if unknown. -
joinedChatDate
public int joinedChatDatePoint in time (Unix timestamp) when the user joined/was promoted/was banned in the chat. -
status
Status of the member in the chat. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ChatMember
public ChatMember()Describes a user or a chat as a member of another chat. -
ChatMember
public ChatMember(TdApi.MessageSender memberId, long inviterUserId, int joinedChatDate, TdApi.ChatMemberStatus status) Describes a user or a chat as a member of another chat.- Parameters:
memberId
- Identifier of the chat member. Currently, other chats can be only Left or Banned. Only supergroups and channels can have other chats as Left or Banned members and these chats must be supergroups or channels.inviterUserId
- Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.joinedChatDate
- Point in time (Unix timestamp) when the user joined/was promoted/was banned in the chat.status
- Status of the member in 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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-