Package-level declarations

Types

Link copied to clipboard
@Serializable
data class ApproveChatJoinRequest(val chatId: ChatIdentifier, val userId: UserId) : ChatJoinRequestAnswer

Represent approve ChatJoinRequestAnswer. You may approve the requests retrieved in with ChatJoinRequest (in dev.inmo.tgbotapi.types.update.ChatJoinRequestUpdate)

Link copied to clipboard

Represent a join request answer. See inheritors for more info

Link copied to clipboard
@Serializable
data class CreateChatInviteLinkUnlimited(val chatId: ChatIdentifier, val name: String? = null, val expirationUnixTimeStamp: TelegramDate? = null) : CreateChatInviteLink<ChatInviteLinkUnlimited>

Represent [https://core.telegram.org/bots/api#createchatinvitelink] request WITHOUT member_limit and creates_join_request

Link copied to clipboard
@Serializable
data class CreateChatInviteLinkWithJoinRequest(val chatId: ChatIdentifier, val name: String? = null, val expirationUnixTimeStamp: TelegramDate? = null) : CreateChatInviteLink<ChatInviteLinkWithJoinRequest> , WithJoinRequestChatInviteLinkRequest

Represent [https://core.telegram.org/bots/api#createchatinvitelink] request WITHOUT member_limit and WITH creates_join_request

Link copied to clipboard
@Serializable
data class CreateChatInviteLinkWithLimitedMembers(val chatId: ChatIdentifier, val membersLimit: MembersLimit, val name: String? = null, val expirationUnixTimeStamp: TelegramDate? = null) : CreateChatInviteLink<ChatInviteLinkWithLimitedMembers> , LimitedMembersChatInviteLinkRequest

Represent [https://core.telegram.org/bots/api#createchatinvitelink] request WITH member_limit and WITHOUT creates_join_request

Link copied to clipboard
@Serializable
data class DeclineChatJoinRequest(val chatId: ChatIdentifier, val userId: UserId) : ChatJoinRequestAnswer

Represent decline ChatJoinRequestAnswer. You may approve the requests retrieved in with ChatJoinRequest (in dev.inmo.tgbotapi.types.update.ChatJoinRequestUpdate)

Link copied to clipboard
@Serializable
data class EditChatInviteLinkUnlimited(val chatId: ChatIdentifier, val inviteLink: String, val name: String? = null, val expirationUnixTimeStamp: TelegramDate? = null) : EditChatInviteLink<ChatInviteLinkUnlimited>

Represent [https://core.telegram.org/bots/api#editchatinvitelink] request WITHOUT member_limit and creates_join_request

Link copied to clipboard
@Serializable
data class EditChatInviteLinkWithJoinRequest(val chatId: ChatIdentifier, val inviteLink: String, val name: String? = null, val expirationUnixTimeStamp: TelegramDate? = null) : EditChatInviteLink<ChatInviteLinkWithJoinRequest> , WithJoinRequestChatInviteLinkRequest

Represent [https://core.telegram.org/bots/api#editchatinvitelink] request WITHOUT member_limit and WITH creates_join_request

Link copied to clipboard
@Serializable
data class EditChatInviteLinkWithLimitedMembers(val chatId: ChatIdentifier, val inviteLink: String, val membersLimit: MembersLimit, val name: String? = null, val expirationUnixTimeStamp: TelegramDate? = null) : EditChatInviteLink<ChatInviteLinkWithLimitedMembers> , LimitedMembersChatInviteLinkRequest

Represent [https://core.telegram.org/bots/api#editchatinvitelink] request WITH member_limit and WITHOUT creates_join_request

Link copied to clipboard
@Serializable
data class RevokeChatInviteLink(val chatId: ChatIdentifier, val inviteLink: String) : KnownChatInviteLinkRequest<SecondaryChatInviteLink>