Companion

object Companion

Functions

unlimited
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
withJoinRequest
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
withLimitedMembers
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