Package dev.inmo.tgbotapi.extensions.api.chat.invite_links

Functions

Link copied to clipboard
suspend fun TelegramBot.approve(chatJoinRequest: ChatJoinRequest): Boolean
Link copied to clipboard
suspend fun TelegramBot.approveChatJoinRequest(chatJoinRequest: ChatJoinRequest): Boolean
suspend fun TelegramBot.approveChatJoinRequest(chatJoinRequestUpdate: ChatJoinRequestUpdate): Boolean
suspend fun TelegramBot.approveChatJoinRequest(chatId: ChatIdentifier, userId: UserId): Boolean
suspend fun TelegramBot.approveChatJoinRequest(chatId: ChatIdentifier, user: User): Boolean
suspend fun TelegramBot.approveChatJoinRequest(chat: PublicChat, userId: UserId): Boolean
suspend fun TelegramBot.approveChatJoinRequest(chat: PublicChat, user: User): Boolean
Link copied to clipboard
suspend fun TelegramBot.createChatInviteLinkUnlimited(    chatId: ChatIdentifier,     expiration: DateTime,     name: String? = null): ChatInviteLinkUnlimited
suspend fun TelegramBot.createChatInviteLinkUnlimited(    chatId: ChatIdentifier,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkUnlimited
suspend fun TelegramBot.createChatInviteLinkUnlimited(    chat: PublicChat,     expiration: DateTime,     name: String? = null): ChatInviteLinkUnlimited
suspend fun TelegramBot.createChatInviteLinkUnlimited(    chat: PublicChat,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkUnlimited
Link copied to clipboard
suspend fun TelegramBot.createChatInviteLinkWithJoinRequest(    chatId: ChatIdentifier,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithJoinRequest
suspend fun TelegramBot.createChatInviteLinkWithJoinRequest(    chatId: ChatIdentifier,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithJoinRequest
suspend fun TelegramBot.createChatInviteLinkWithJoinRequest(    chat: PublicChat,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithJoinRequest
suspend fun TelegramBot.createChatInviteLinkWithJoinRequest(    chat: PublicChat,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithJoinRequest
Link copied to clipboard
suspend fun TelegramBot.createChatInviteLinkWithLimitedMembers(    chatId: ChatIdentifier,     membersLimit: MembersLimit,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithLimitedMembers
suspend fun TelegramBot.createChatInviteLinkWithLimitedMembers(    chatId: ChatIdentifier,     membersLimit: MembersLimit,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithLimitedMembers
suspend fun TelegramBot.createChatInviteLinkWithLimitedMembers(    chat: PublicChat,     membersLimit: MembersLimit,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithLimitedMembers
suspend fun TelegramBot.createChatInviteLinkWithLimitedMembers(    chat: PublicChat,     membersLimit: MembersLimit,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithLimitedMembers
Link copied to clipboard
suspend fun TelegramBot.decline(chatJoinRequest: ChatJoinRequest): Boolean
Link copied to clipboard
suspend fun TelegramBot.declineChatJoinRequest(chatJoinRequest: ChatJoinRequest): Boolean
suspend fun TelegramBot.declineChatJoinRequest(chatJoinRequestUpdate: ChatJoinRequestUpdate): Boolean
suspend fun TelegramBot.declineChatJoinRequest(chatId: ChatIdentifier, userId: UserId): Boolean
suspend fun TelegramBot.declineChatJoinRequest(chatId: ChatIdentifier, user: User): Boolean
suspend fun TelegramBot.declineChatJoinRequest(chat: PublicChat, userId: UserId): Boolean
suspend fun TelegramBot.declineChatJoinRequest(chat: PublicChat, user: User): Boolean
Link copied to clipboard
suspend fun TelegramBot.editChatInviteLinkUnlimited(    chatId: ChatIdentifier,     previousLink: ChatInviteLink,     expiration: DateTime,     name: String? = null): ChatInviteLinkUnlimited
suspend fun TelegramBot.editChatInviteLinkUnlimited(    chatId: ChatIdentifier,     previousLink: ChatInviteLink,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkUnlimited
suspend fun TelegramBot.editChatInviteLinkUnlimited(    chatId: ChatIdentifier,     previousLink: String,     expiration: DateTime,     name: String? = null): ChatInviteLinkUnlimited
suspend fun TelegramBot.editChatInviteLinkUnlimited(    chatId: ChatIdentifier,     previousLink: String,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkUnlimited
suspend fun TelegramBot.editChatInviteLinkUnlimited(    chat: PublicChat,     previousLink: ChatInviteLink,     expiration: DateTime,     name: String? = null): ChatInviteLinkUnlimited
suspend fun TelegramBot.editChatInviteLinkUnlimited(    chat: PublicChat,     previousLink: ChatInviteLink,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkUnlimited
suspend fun TelegramBot.editChatInviteLinkUnlimited(    chat: PublicChat,     previousLink: String,     expiration: DateTime,     name: String? = null): ChatInviteLinkUnlimited
suspend fun TelegramBot.editChatInviteLinkUnlimited(    chat: PublicChat,     previousLink: String,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkUnlimited
Link copied to clipboard
suspend fun TelegramBot.editChatInviteLinkWithJoinRequest(    chatId: ChatIdentifier,     previousLink: ChatInviteLink,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithJoinRequest
suspend fun TelegramBot.editChatInviteLinkWithJoinRequest(    chatId: ChatIdentifier,     previousLink: ChatInviteLink,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithJoinRequest
suspend fun TelegramBot.editChatInviteLinkWithJoinRequest(    chatId: ChatIdentifier,     previousLink: String,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithJoinRequest
suspend fun TelegramBot.editChatInviteLinkWithJoinRequest(    chatId: ChatIdentifier,     previousLink: String,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithJoinRequest
suspend fun TelegramBot.editChatInviteLinkWithJoinRequest(    chat: PublicChat,     previousLink: ChatInviteLink,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithJoinRequest
suspend fun TelegramBot.editChatInviteLinkWithJoinRequest(    chat: PublicChat,     previousLink: ChatInviteLink,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithJoinRequest
suspend fun TelegramBot.editChatInviteLinkWithJoinRequest(    chat: PublicChat,     previousLink: String,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithJoinRequest
suspend fun TelegramBot.editChatInviteLinkWithJoinRequest(    chat: PublicChat,     previousLink: String,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithJoinRequest
Link copied to clipboard
suspend fun TelegramBot.editChatInviteLinkWithLimitedMembers(    chatId: ChatIdentifier,     previousLink: ChatInviteLink,     membersLimit: MembersLimit,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithLimitedMembers
suspend fun TelegramBot.editChatInviteLinkWithLimitedMembers(    chatId: ChatIdentifier,     previousLink: ChatInviteLink,     membersLimit: MembersLimit,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithLimitedMembers
suspend fun TelegramBot.editChatInviteLinkWithLimitedMembers(    chatId: ChatIdentifier,     previousLink: String,     membersLimit: MembersLimit,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithLimitedMembers
suspend fun TelegramBot.editChatInviteLinkWithLimitedMembers(    chatId: ChatIdentifier,     previousLink: String,     membersLimit: MembersLimit,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithLimitedMembers
suspend fun TelegramBot.editChatInviteLinkWithLimitedMembers(    chat: PublicChat,     previousLink: ChatInviteLink,     membersLimit: MembersLimit,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithLimitedMembers
suspend fun TelegramBot.editChatInviteLinkWithLimitedMembers(    chat: PublicChat,     previousLink: ChatInviteLink,     membersLimit: MembersLimit,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithLimitedMembers
suspend fun TelegramBot.editChatInviteLinkWithLimitedMembers(    chat: PublicChat,     previousLink: String,     membersLimit: MembersLimit,     expiration: DateTime,     name: String? = null): ChatInviteLinkWithLimitedMembers
suspend fun TelegramBot.editChatInviteLinkWithLimitedMembers(    chat: PublicChat,     previousLink: String,     membersLimit: MembersLimit,     name: String? = null,     expiration: TelegramDate? = null): ChatInviteLinkWithLimitedMembers
Link copied to clipboard
suspend fun TelegramBot.revokeChatInviteLink(chatId: ChatIdentifier, previousLink: ChatInviteLink): SecondaryChatInviteLink
suspend fun TelegramBot.revokeChatInviteLink(chatId: ChatIdentifier, previousLink: String): SecondaryChatInviteLink
suspend fun TelegramBot.revokeChatInviteLink(chat: PublicChat, previousLink: ChatInviteLink): SecondaryChatInviteLink
suspend fun TelegramBot.revokeChatInviteLink(chat: PublicChat, previousLink: String): SecondaryChatInviteLink