- Enclosing class:
- TdApi
Removes all pinned messages from a
chat; requires canPinMessages rights
in the group or canEditMessages rights
in the channel.
Returns
Ok-
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the chat.static final int -
Constructor Summary
ConstructorsConstructorDescriptionRemoves all pinned messages from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel.UnpinAllChatMessages(long chatId) Removes all pinned messages from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel.UnpinAllChatMessages(DataInput input) Removes all pinned messages from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdIdentifier of the chat. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
UnpinAllChatMessages
public UnpinAllChatMessages()Removes all pinned messages from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel. ReturnsOk -
UnpinAllChatMessages
public UnpinAllChatMessages(long chatId) Removes all pinned messages from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel. ReturnsOk- Parameters:
chatId- long Identifier of the chat.
-
UnpinAllChatMessages
Removes all pinned messages from a chat; requires canPinMessages rights in the group or canEditMessages rights in the channel. ReturnsOk- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-