- Enclosing class:
- TdApi
Removes the current user from chat
members. Private and secret chats
can't be left using this method.
Returns Ok
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
LeaveChat
public LeaveChat()Removes the current user from chat members. Private and secret chats can't be left using this method.Returns
Ok
-
LeaveChat
public LeaveChat(long chatId) Removes the current user from chat members. Private and secret chats can't be left using this method.Returns
Ok
- Parameters:
chatId
- long Chat identifier.
-
LeaveChat
Removes the current user from chat members. Private and secret chats can't be left using this method.Returns
Ok
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-