PaymentsRequestRecurringPayment
Layer 214 1 – Base layer 2 – New userpic notifications 3 – Send message can trigger link change 4 – Check-in chats 5 – Localized SMS, localized notifications 6 – Foursquare integration 7 – Added wall Paper Solid 8 – Added end-to-end encryption 9 – Improved big files upload perfomance 10 – Improved chat participants updates 11 – Improved secret chats 12 – New dynamic support 13 – Audio, video MIME; contacts import retry; new secret actions 14 – Notify settings sync, blacklist sync 15 – Modified get History offset behaviour 16 – Split send Code into 2 parts 17 – Added custom typing, introduced message flags 18 – Added usernames 23 – Stickers for secret chats 105 – Scheduled messages, Cloud themes 108 – Login with QR code 109 – Polls v 2 110 – People Nearby 2.0, Bank card entity 111 – Folders, Broadcast Stats 112 – Old featured stickers, generic dice, poll timer, poll solution 113 – PSA 114 – Video thumbs for GIFs 115 – Peek Channel Invite 116 – Group Stats, Profile Videos 117 – Web RTC Phone Calls 118 – Callback with 2 FA, Countries list 119 – Comments in channels, Threads, Anonymous Admins 120 – Multipins, Message Stats, Geo Live v 2 121 – SVG-based Outlines for Stickers 122 – Voice Chats 123 – Voice Chat improvements 124 – Expiring Invite links 125 – Voice Chats in Broadcasts 126 – Ban channels in channels 127 – Payments in channels 128 – Microthumbs for User/Chat profile photos 129 – Video Chats 130 – Custom placeholder for bot reply keyboards 131 – Reset 2 FA Password after a week 132 – Chat themes 133 – 64-bit IDs for User/Chat 134 – Chat Requests, Shared Media Calendar 135 – Send Message As a Channel 136 – Reactions 137 – Translations 138 – GIF Sticker Packs 139 – RTMP streaming 140 – Web Apps, Cloud Ringtones 142 – TCP Reflectors 143 – Premium Subscription, Cloud Invoices 144 – Premium as a Gift, Custom Emoji 145 – Custom Reactions, Statuses, Sign In with email 147 – Keywords for stickers and emojis 148 – Forums, collectible usernames 150 – Pinned forum topics, general topic 151 – Media spoilers, suggested profile photos 152 – Real-time translations, Firebase SMS authentication 153 – Modify created stickersets 155 – Dates for reactions 158 – Shared folders, per-chat wallpapers 159 – Anonymous votes 160 – Stories 164 – Stories in Channels 166 – Giveaways in channels 167 – Similar channels 168 – Channel colors 169 – Multiselection of chats for bots 170 – Saved Messages 2.0 171 – Saved Messages 2.0 174 – Group boosts 176 – Business 177 – Business Bots, Birthdays 178 – Saved Personal channel, Reactions notifications 179 – Channel revenue stats, phrases in SMS 180 – Message Effects, Hashtags 181 – Stars 182 – Stars Revenue 183 – Paid posts 184 – Stars Refunds 185 – Mini App Store, Star Gifts 186 – Channel Subscriptions for Stars 187 – Stars Giveaways 189 – Stars Gifts 192 – Video Qualities, Ads in bots 194 – Stars Subscription for Bots 195 – Affiliate Programs for Bots 196 – Collectible gifts 197 – Similar Bots 198 – Collectibles as emoji statuses 200 – Paid Messages 202 – Conference calls 203 – Resell collectible gifts 204 – Monoforums 205 – TODO lists 207 – Suggested channel posts 210 – Star gift collections, rating 211 – Story Albums 212 – Prepaid gift upgrades 213 – Music in profile 214 – Chat Themes with collectible gifts More. Method schema is available as of layer 143. Switch
Parameters
| Name | Type | Description |
|---|---|---|
| UserId | InputUser | |
| RecurringInitCharge | string | |
| InvoiceMedia | InputMedia |
Returns
UpdatesGogram Example
// PaymentsRequestRecurringPayment - positional arguments result, err := client.PaymentsRequestRecurringPayment(&tg.InputUserSelf{}, "Hello, World!", &tg.InputMediaPhoto{ID: &tg.InputPhoto{ID: int64(5678901234567890), AccessHash: int64(1234567890123456), FileReference: []byte{0x01}}}) if err != nil { // handle error } // result is *tg.Updates