Companion

object Companion

Functions

Link copied to clipboard
fun subscription(chatId: ChatIdentifier, subscriptionPrice: UInt, subscriptionPeriod: TimeSpan = 30.days, name: String? = null, expirationUnixTimeStamp: TelegramDate? = null): CreateChatSubscriptionInviteLink
Link copied to clipboard
fun unlimited(chatId: ChatIdentifier, expiration: DateTime, name: String? = null): CreateChatInviteLinkUnlimited
fun unlimited(chatId: ChatIdentifier, name: String? = null, expirationUnixTimeStamp: TelegramDate? = null): CreateChatInviteLinkUnlimited
Link copied to clipboard
fun withJoinRequest(chatId: ChatIdentifier, expiration: DateTime, name: String? = null): CreateChatInviteLinkWithJoinRequest
fun withJoinRequest(chatId: ChatIdentifier, name: String? = null, expirationUnixTimeStamp: TelegramDate? = null): CreateChatInviteLinkWithJoinRequest
Link copied to clipboard
fun withLimitedMembers(chatId: ChatIdentifier, membersLimit: MembersLimit, expiration: DateTime, name: String? = null): CreateChatInviteLinkWithLimitedMembers
fun withLimitedMembers(chatId: ChatIdentifier, membersLimit: MembersLimit, name: String? = null, expirationUnixTimeStamp: TelegramDate? = null): CreateChatInviteLinkWithLimitedMembers