Layer 227
method Users
contacts.setBlocked#94c65c76 flags:# my_stories_from:flags.0?true id:Vector<InputPeer> limit:int = Bool;

Parameters

Name Type Description
MyStoriesFrom flags .0? true Whether to edit the story blocklist; if not set, will edit the main blocklist. See here for differences between the two.
Id Vector < InputPeer > Full content of the blocklist.
Limit int Maximum number of results to return, see pagination

Returns

Bool

Gogram Example

// ContactsSetBlocked - positional arguments
result, err := client.ContactsSetBlocked(nil, &tg.VectorInputPeer{}, 42)
if err != nil {
    // handle error
}
// result is *tg.Bool