Class TdApi.ChatMember

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatMember
Enclosing class:
TdApi

public static class TdApi.ChatMember
extends TdApi.Object
Information about a user or a chat as a member of another chat.
  • Field Details

    • memberId

      public TdApi.MessageSender 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 int inviterUserId
      Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.
    • joinedChatDate

      public int joinedChatDate
      Point in time (Unix timestamp) when the user joined the chat.
    • status

      public TdApi.ChatMemberStatus status
      Status of the member in the chat.
    • botInfo

      public TdApi.BotInfo botInfo
      If the user is a bot, information about the bot; may be null. Can be null even for a bot if the bot is not the chat member.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • ChatMember

      public ChatMember()
      Information about a user or a chat as a member of another chat.
    • ChatMember

      public ChatMember​(TdApi.MessageSender memberId, int inviterUserId, int joinedChatDate, TdApi.ChatMemberStatus status, TdApi.BotInfo botInfo)
      Information about a user or a chat as a member of another chat.
      Parameters:
      memberId - MessageSender 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 - int Identifier of a user that invited/promoted/banned this member in the chat; 0 if unknown.
      joinedChatDate - int Point in time (Unix timestamp) when the user joined the chat.
      status - ChatMemberStatus Status of the member in the chat.
      botInfo - BotInfo If the user is a bot, information about the bot; may be null. Can be null even for a bot if the bot is not the chat member.
    • ChatMember

      public ChatMember​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details