Package-level declarations
Functions
Link copied to clipboard
inline fun requestBotsReplyButton(text: String, requestId: RequestId, maxCount: Int = keyboardButtonRequestUserLimit.first, requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null): RequestUserKeyboardButton
Creates RequestUserKeyboardButton with KeyboardButtonRequestUsers.Bot
Link copied to clipboard
inline fun requestChannelReplyButton(text: String, requestId: RequestId, isPublic: Boolean? = null, isOwnedBy: Boolean? = null, userRightsInChat: ChatCommonAdministratorRights? = null, botRightsInChat: ChatCommonAdministratorRights? = null, botIsMember: Boolean = false, requestTitle: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null): RequestChatKeyboardButton
inline fun requestChannelReplyButton(text: String, requestId: RequestId, isForum: Boolean? = null, isPublic: Boolean? = null, isOwnedBy: Boolean? = null, userRightsInChat: ChatCommonAdministratorRights? = null, botRightsInChat: ChatCommonAdministratorRights? = null, botIsMember: Boolean? = null, requestTitle: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null): RequestChatKeyboardButton
Creates RequestChatKeyboardButton with KeyboardButtonRequestChat.Group
Link copied to clipboard
inline fun requestChatReplyButton(text: String, requestChat: KeyboardButtonRequestChat): RequestChatKeyboardButton
Creates RequestChatKeyboardButton
inline fun requestChatReplyButton(text: String, requestId: RequestId, isChannel: Boolean? = null, isForum: Boolean? = null, isPublic: Boolean? = null, isOwnedBy: Boolean? = null, userRightsInChat: ChatCommonAdministratorRights? = null, botRightsInChat: ChatCommonAdministratorRights? = null, botIsMember: Boolean = false, requestTitle: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null): RequestChatKeyboardButton
Creates RequestChatKeyboardButton with KeyboardButtonRequestChat
Link copied to clipboard
Creates RequestContactKeyboardButton
Link copied to clipboard
Creates RequestLocationKeyboardButton
Link copied to clipboard
inline fun requestPollReplyButton(text: String, pollType: KeyboardButtonPollType): RequestPollKeyboardButton
Creates RequestPollKeyboardButton
Link copied to clipboard
inline fun requestUserOrBotReplyButton(text: String, requestId: RequestId, requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null): RequestUserKeyboardButton
Creates RequestUserKeyboardButton with KeyboardButtonRequestUsers.Any
Link copied to clipboard
inline fun requestUserReplyButton(text: String, requestId: RequestId, premiumUser: Boolean? = null, maxCount: Int = keyboardButtonRequestUserLimit.first, requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null): RequestUserKeyboardButton
Link copied to clipboard
inline fun requestUsersOrBotsReplyButton(text: String, requestId: RequestId, premiumUser: Boolean? = null, maxCount: Int = keyboardButtonRequestUserLimit.first, requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null): RequestUserKeyboardButton
Creates RequestUserKeyboardButton with KeyboardButtonRequestUsers.Any
Link copied to clipboard
inline fun requestUsersReplyButton(text: String, requestUser: KeyboardButtonRequestUsers): RequestUserKeyboardButton
Creates RequestUserKeyboardButton
inline fun requestUsersReplyButton(text: String, requestId: RequestId, premiumUser: Boolean? = null, maxCount: Int = keyboardButtonRequestUserLimit.first, requestName: Boolean? = null, requestUsername: Boolean? = null, requestPhoto: Boolean? = null): RequestUserKeyboardButton
Link copied to clipboard
Creates SimpleKeyboardButton
Link copied to clipboard
Creates WebAppKeyboardButton