Package org.drinkless.tdlib
Class TdApi.ChatMemberStatusCreator
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.ChatMemberStatus
-
- org.drinkless.tdlib.TdApi.ChatMemberStatusCreator
-
- Enclosing class:
- TdApi
public static class TdApi.ChatMemberStatusCreator extends TdApi.ChatMemberStatus
The user is the owner of the chat and has all the administrator privileges.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.StringcustomTitleA custom title of the owner; 0-16 characters without emojis; applicable to supergroups only.booleanisAnonymousTrue, if the creator isn't shown in the chat member list and sends messages anonymously; applicable to supergroups only.booleanisMemberTrue, if the user is a member of the chat.
-
Constructor Summary
Constructors Constructor Description ChatMemberStatusCreator()The user is the owner of the chat and has all the administrator privileges.ChatMemberStatusCreator(String customTitle, boolean isAnonymous, boolean isMember)The user is the owner of the chat and has all the administrator privileges.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
customTitle
public String customTitle
A custom title of the owner; 0-16 characters without emojis; applicable to supergroups only.
-
isAnonymous
public boolean isAnonymous
True, if the creator isn't shown in the chat member list and sends messages anonymously; applicable to supergroups only.
-
isMember
public boolean isMember
True, if the user is a member of the chat.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ChatMemberStatusCreator
public ChatMemberStatusCreator()
The user is the owner of the chat and has all the administrator privileges.
-
ChatMemberStatusCreator
public ChatMemberStatusCreator(String customTitle, boolean isAnonymous, boolean isMember)
The user is the owner of the chat and has all the administrator privileges.- Parameters:
customTitle- A custom title of the owner; 0-16 characters without emojis; applicable to supergroups only.isAnonymous- True, if the creator isn't shown in the chat member list and sends messages anonymously; applicable to supergroups only.isMember- True, if the user is a member of the chat.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-