--- title: InputPeer description: constructors and methods of type InputPeer --- ## Type: InputPeer [Back to types index](index.md) The following syntaxes can also be used: ``` $updateServiceNotification = '@username'; // Username $updateServiceNotification = 44700; // bot API id (users) $updateServiceNotification = -492772765; // bot API id (chats) $updateServiceNotification = -10038575794; // bot API id (channels) $updateServiceNotification = 'user#44700'; // tg-cli style id (users) $updateServiceNotification = 'chat#492772765'; // tg-cli style id (chats) $updateServiceNotification = 'channel#38575794'; // tg-cli style id (channels) ``` ### Possible values (constructors): [inputPeerEmpty](../constructors/inputPeerEmpty.md) [inputPeerSelf](../constructors/inputPeerSelf.md) [inputPeerContact](../constructors/inputPeerContact.md) [inputPeerForeign](../constructors/inputPeerForeign.md) [inputPeerChat](../constructors/inputPeerChat.md) ### Methods that return an object of this type (methods):