Chats
Manage chats
Archive or unarchive a chat
client.Chats.Archive(ctx, chatID, body) error
POST/v1/chats/{chatID}/archive
Models
ChatsReminders
Manage reminders for chats
Create a chat reminder
client.Chats.Reminders.New(ctx, chatID, body) error
POST/v1/chats/{chatID}/reminders
Delete a chat reminder
client.Chats.Reminders.Delete(ctx, chatID) error
DELETE/v1/chats/{chatID}/reminders
ChatsMessages
Manage chat messages
ChatsMessagesReactions
Manage message reactions
Add a reaction
client.Chats.Messages.Reactions.Add(ctx, messageID, params) (*ChatMessageReactionAddResponse, error)
POST/v1/chats/{chatID}/messages/{messageID}/reactions
Remove a reaction
client.Chats.Messages.Reactions.Delete(ctx, messageID, params) (*ChatMessageReactionDeleteResponse, error)
DELETE/v1/chats/{chatID}/messages/{messageID}/reactions