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.

  1. setChatMenuButtonRequestMenuButton :: SetChatMenuButtonRequest -> Maybe MenuButton

    telegram-bot-api Telegram.Bot.API.Methods.SetChatMenuButton

    A JSON-serialized object for the new bot's menu button. Defaults to MenuButtonDefault.

  2. 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.

  3. setChatPermissionsChatId :: SetChatPermissionsRequest -> SomeChatId

    telegram-bot-api Telegram.Bot.API.Methods.SetChatPermissions

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

  4. setChatPermissionsPermissions :: SetChatPermissionsRequest -> ChatPermissions

    telegram-bot-api Telegram.Bot.API.Methods.SetChatPermissions

    A JSON-serialized object for new default chat permissions.

  5. setChatPermissionsUseIndependentChatPermissions :: SetChatPermissionsRequest -> Maybe Bool

    telegram-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.

  6. 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.

  7. setChatPhotoChatId :: SetChatPhotoRequest -> SomeChatId

    telegram-bot-api Telegram.Bot.API.Methods.SetChatPhoto

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

  8. setChatPhotoPhoto :: SetChatPhotoRequest -> InputFile

    telegram-bot-api Telegram.Bot.API.Methods.SetChatPhoto

    New chat photo, uploaded using multipart/form-data

  9. 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.

  10. 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.

Page 852 of many | Previous | Next