Skip to main content

channels.getFullChannel

Get full info about a supergroup, gigagroup or channel

func (c *Client) ChannelsGetFullChannel(ctx context.Context, channel InputChannelClass) (*MessagesChatFull, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.ChannelsGetFullChannel(ctx, channel)
if err != nil {
return err
}
_ = res // *MessagesChatFull
return nil
})

Parameters

NameTypeRequiredDescription
ChannelInputChannelClassyesThe channel, supergroup or gigagroup to get info about

Returns

*MessagesChatFull

Possible errors

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.
406CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
403CHANNEL_PUBLIC_GROUP_NAchannel/supergroup not available.
400CHAT_NOT_MODIFIEDNo changes were made to chat information because the new information you passed is identical to the current information.
400MSG_ID_INVALIDInvalid message ID provided.

References