Layer 220
method Users
channels.getMessageAuthor#ece2a0e6 channel:InputChannel id:int = User;

Parameters

Name Type Description
Channel InputChannel ID of the monoforum.
Id int ID of the message sent by a monoforum admin.

Returns

User

Possible Errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.

Gogram Example

// ChannelsGetMessageAuthor - positional arguments
result, err := client.ChannelsGetMessageAuthor(&tg.InputChannel{ChannelID: int64(123456789), AccessHash: int64(0)}, 0)
if err != nil {
    // handle error
}
// result is *tg.User