Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setChatMenuButtonRequestMenuButton :: SetChatMenuButtonRequest -> Maybe MenuButtontelegram-bot-api Telegram.Bot.API.Methods.SetChatMenuButton A JSON-serialized object for the new bot's menu button. Defaults to MenuButtonDefault.
setChatPermissions :: SetChatPermissionsRequest -> ClientM (Response Bool)telegram-bot-api Telegram.Bot.API.Methods.SetChatPermissions Use this method to set default chat permissions for all members. The bot must be an administrator in the group or a supergroup for this to work and must have the can_restrict_members administrator rights. Returns True on success.
setChatPermissionsChatId :: SetChatPermissionsRequest -> SomeChatIdtelegram-bot-api Telegram.Bot.API.Methods.SetChatPermissions Unique identifier for the target chat or username of the target channel (in the format @channelusername).
setChatPermissionsPermissions :: SetChatPermissionsRequest -> ChatPermissionstelegram-bot-api Telegram.Bot.API.Methods.SetChatPermissions A JSON-serialized object for new default chat permissions.
setChatPermissionsUseIndependentChatPermissions :: SetChatPermissionsRequest -> Maybe Booltelegram-bot-api Telegram.Bot.API.Methods.SetChatPermissions Pass True if chat permissions are set independently. Otherwise, the can_send_other_messages and can_add_web_page_previews permissions will imply the can_send_messages, can_send_audios, can_send_documents, can_send_photos, can_send_videos, can_send_video_notes, and can_send_voice_notes permissions; the can_send_polls permission will imply the can_send_messages permission.
setChatPhoto :: SetChatPhotoRequest -> ClientM (Response Bool)telegram-bot-api Telegram.Bot.API.Methods.SetChatPhoto Use this method to set a new profile photo for the chat. Photos can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.
- Note*: Only InputFile case might be used in SetChatPhotoRequest. Rest cases will be rejected by Telegram.
setChatPhotoChatId :: SetChatPhotoRequest -> SomeChatIdtelegram-bot-api Telegram.Bot.API.Methods.SetChatPhoto Unique identifier for the target chat or username of the target channel (in the format @channelusername)
setChatPhotoPhoto :: SetChatPhotoRequest -> InputFiletelegram-bot-api Telegram.Bot.API.Methods.SetChatPhoto New chat photo, uploaded using multipart/form-data
setChatStickerSet :: SomeChatId -> Text -> ClientM (Response Bool)telegram-bot-api Telegram.Bot.API.Methods.SetChatStickerSet Use this method to set a new group sticker set for a supergroup. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Use the field can_set_sticker_set optionally returned in getChat requests to check if the bot can use this method. Returns True on success.
setChatTitle :: SomeChatId -> Text -> ClientM (Response Bool)telegram-bot-api Telegram.Bot.API.Methods.SetChatTitle Use this method to change the title of a chat. Titles can't be changed for private chats. The bot must be an administrator in the chat for this to work and must have the appropriate administrator rights. Returns True on success.