- 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
Modifier and TypeFieldDescriptionlong
Identifier of the chat.static final int
-
Constructor Summary
ConstructorDescriptionRemoves 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
toString
Methods 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:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-