Skip to content

messages.exportChatInvite

Layer 225

Constructor ID: 0xa455de90
Returns: ExportedChatInvite

Parameters

NameTypeDescription
legacy_revoke_permanentbool (flags.2, optional)
request_neededbool (flags.3, optional)
peerInputPeer
expire_dateint32 (flags.0, optional)
usage_limitint32 (flags.1, optional)
titlestring (flags.4, optional)
subscription_pricingStarsSubscriptionPricing (flags.5, optional)

Example

go
result, err := client.Raw(&tg.ExportChatInviteRequest{
    legacy_revoke_permanent: false,
    request_needed: false,
    peer: nil, // InputPeer
    expire_date: 0,
    usage_limit: 0,
    title: "",
    subscription_pricing: nil, // StarsSubscriptionPricing
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.