Skip to main content

channels.getInactiveChannels

Get inactive channels and supergroups

func (c *Client) ChannelsGetInactiveChannels(ctx context.Context) (*MessagesInactiveChats, error)

Calling this method

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

res, err := api.ChannelsGetInactiveChannels(ctx)
if err != nil {
return err
}
_ = res // *MessagesInactiveChats
return nil
})

Parameters

This method takes no parameters.

Returns

*MessagesInactiveChats

References