CreateChatInviteLinkWithLimitedMembers

@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

See also

Constructors

Link copied to clipboard
constructor(chatId: ChatIdentifier, membersLimit: MembersLimit, name: String? = null, expirationUnixTimeStamp: TelegramDate? = null)

Properties

Link copied to clipboard
@SerialName(value = "chat_id")
open override val chatId: ChatIdentifier
Link copied to clipboard
@SerialName(value = "expire_date")
open override val expirationUnixTimeStamp: TelegramDate? = null
Link copied to clipboard
open override val expireDate: DateTime?
Link copied to clipboard
@SerialName(value = "member_limit")
open override val membersLimit: MembersLimit
Link copied to clipboard
@SerialName(value = "name")
open override val name: String? = null
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
abstract val resultDeserializer: DeserializationStrategy<ChatInviteLinkWithLimitedMembers>

Functions

Link copied to clipboard
open override fun method(): String