Telegram MT v0.1.1-alpha MTProto.API.Contacts View Source

Working with contacts and blacklists.

Link to this section Summary

Functions

Adds a user to the blacklist

Deletes a single contact from the list

Deletes several contacts from the list

Returns a list of blocked users

Returns the current user’s contact list

Returns a list of contact statuses

Imports contacts from an address book, returns added contacts

Deletes a user from the blacklist

Link to this section Functions

Adds a user to the blacklist.

Deletes a single contact from the list.

Deletes several contacts from the list.

Link to this function get_blocked(offset, limit) View Source

Returns a list of blocked users

Link to this function get_contacts(hash \\ "") View Source

Returns the current user’s contact list.

Returns a list of contact statuses.

Link to this function import_card(export_card) View Source
Link to this function import_contacts(contacts, replace) View Source

Imports contacts from an address book, returns added contacts.

Link to this function resolve_username(username) View Source

Deletes a user from the blacklist