Package dev. inmo. tgbotapi. types
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ChatAdministratorRightsImpl(canChangeInfo: Boolean, canPostMessages: Boolean, canEditMessages: Boolean, canRemoveMessages: Boolean, canInviteUsers: Boolean, canRestrictMembers: Boolean, canPinMessages: Boolean, canPromoteMembers: Boolean, canManageVideoChats: Boolean, canManageChat: Boolean, isAnonymous: Boolean) : ChatAdministratorRights
Content copied to clipboard
Link copied to clipboard
Also used as User Identifier
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Base interface for all chat invite links. See inheritors for more info or official docs
Link copied to clipboard
Link copied to clipboard
data class ChatInviteLinkUnlimited(inviteLink: String, creator: User, name: String?, isRevoked: Boolean, expireDate: TelegramDate?) : SecondaryChatInviteLink
Content copied to clipboard
Represent SecondaryChatInviteLink which have no any restrictions like ChatInviteLinkWithJoinRequest or ChatInviteLinkWithLimitedMembers
Link copied to clipboard
data class ChatInviteLinkWithJoinRequest(inviteLink: String, creator: User, name: String?, leftToReview: Int, isRevoked: Boolean, expireDate: TelegramDate?) : SecondaryChatInviteLink
Content copied to clipboard
Represent SecondaryChatInviteLink which will require an aprovement from one of the administrators
Link copied to clipboard
data class ChatInviteLinkWithLimitedMembers(inviteLink: String, creator: User, name: String?, membersLimit: MembersLimit, isRevoked: Boolean, expireDate: TelegramDate?) : SecondaryChatInviteLink
Content copied to clipboard
Represent SecondaryChatInviteLink which will have limitation for the amount of chat members to join
Link copied to clipboard
data class ChatJoinRequest(chat: PublicChat, from: User, date: TelegramDate, inviteLink: ChatInviteLink, bio: String?) : FromUser
Content copied to clipboard
Represent a ChatJoinRequest
Link copied to clipboard
Represents a location to which a chat is connected.
Link copied to clipboard
data class ChatMemberUpdated(chat: Chat, user: User, date: TelegramDate, oldChatMemberState: ChatMember, newChatMemberState: ChatMember, inviteLink: ChatInviteLink?)
Content copied to clipboard
Link copied to clipboard
data class ChatPhoto(smallFileId: String, bigFileId: String, smallFileUniqueId: FileUniqueId, bigFileUniqueId: FileUniqueId)
Content copied to clipboard
Link copied to clipboard
data class CommonUser(id: UserId, firstName: String, lastName: String, username: Username?, ietfLanguageCode: IetfLanguageCode?) : User, WithOptionalLanguageCode
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PrimaryInviteLink(inviteLink: String, creator: User, isRevoked: Boolean, expireDate: TelegramDate?) : ChatInviteLink
Content copied to clipboard
Primary invite link in the chat for this bot
Link copied to clipboard
Link copied to clipboard
data class ResponseParametersRaw(migrateToChatId: ChatId?, retryAfter: Seconds?)
Content copied to clipboard
Link copied to clipboard
data class RetryAfterError(seconds: Seconds, startCountingMillis: Long) : RequestError
Content copied to clipboard
Link copied to clipboard
Base interface for all ChatInviteLinks which are NOT PrimaryInviteLink
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class WebhookInfo(url: String, awaitDelivery: Int, maxConnections: Int, customCertificate: Boolean, allowedUpdates: List<String>, lastErrorDate: TelegramDate?, lastSynchronizationErrorDate: TelegramDate?, lastErrorMessage: String?)
Content copied to clipboard