Layer 220
method Users
contacts.getBlocked#9a868f80 flags:# my_stories_from:flags.0?true offset:int limit:int = contacts.Blocked;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
MyStoriesFrom flags.0?true Whether to fetch the story blocklist; if not set, will fetch the main blocklist. See here for differences between the two.
Offset int The number of list elements to be skipped
Limit int The number of list elements to be returned

Gogram Example

// ContactsGetBlocked - using Params struct
result, err := client.ContactsGetBlocked(&tg.ContactsGetBlockedParams{
    Offset: 0,
    Limit: 0,

    // Optional fields:
    // MyStoriesFrom: true,
})
if err != nil {
    // handle error
}
// result is *tg.ContactsBlocked