TelegramBot.getChatMember

Get information about a member of a chat

  1. ChatMember getChatMember(T chat_id, int user_id)
    struct TelegramBot
    @trusted
    getChatMember
    (
    T
    )
  2. ChatMember getChatMember(GetChatMemberMethod m)

Parameters

chat_id T

Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)

user_id int

Unique identifier of the target user

Return Value

ChatMember on success

Throws

TelegramBotException on errors

See Also

Meta