messages.saveDefaultSendAs

Change the default peer that should be used when sending messages to a specific group

 Method schema is available as of layer 135. Switch ยป

Parameters

Name Type Description
peer InputPeer Group
send_as InputPeer The default peer that should be used when sending messages to the group

Result

Bool

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.