Skip to content

channels.inviteToChannel

Layer 225

Constructor ID: 0xc9e33d54
Returns: InvitedUsers

Parameters

NameTypeDescription
channelInputChannel
users[]InputUser

Example

go
result, err := client.Raw(&tg.InviteToChannelRequest{
    channel: nil, // InputChannel
    users: nil,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.